
// #ifdef VUE2
import Vue from 'vue'
import App from './App'
// 项目配置
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
Vue.use(plugins)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif



// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
// vue3插件使用修改
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
// Vue.use(plugins)


export function createApp() {
  const app = createSSRApp(App)
	app.use(store)
	app.use(plugins)
	return {
		app
	}
}
// #endif